<{include file='customer/head.html'}>
<body>
	<div class="akr_main_inner_bg">
		<div class="wid97 inforBar">
			<span>操作板块：</span><input type="text" name="type" value="" class="inputText">
			<input type="button" class="akrBtn blue userRecordSousou" value="搜索">
		</div>
		<table class="akrTable akrTable_border">
			<thead>
				<tr>
					<th>操作板块</th>
					<th>操作管理员</th>
					<th>描述</th>
					<th>时间</th>
				</tr>
			</thead>
			<tbody class="userlist_html">
			<{foreach $list as $k=>$v}>
			<tr>
				<td><{$v.type}></td>
				<td><{$v.username}></td>
				<td><{$v.remark}></td>
				<td><{$v.recordtime|date_format:"%Y-%m-%d %H:%M:%S"}></td>
			</tr>
			<{/foreach}>
			</tbody>
		</table>
		<div class="page">
			<{$pageshow}>
		</div>
	</div>
	<script type="text/javascript">
		function ajaxpage(page){
			_hcinits.init(['_ajaxs_min','_form_min','_layer_admin_min'],function(){
				_ajaxs=_hcinits._ajaxs;
				_form=_hcinits._form;
				var url='';
				url+=_form.geturl('name','type','type','');
				url=_form.geturl('url',url);
				if(url!=''){
					url+='&page='+page;
				}else{
					url+='page='+page;
				}
				_ajaxs.post('/UserRecord/userRecordList',url,function(data){
					if(data.status){
						$('.userlist_html').html(data.data.html);
						$('.page').html(data.data.pageshow);
					}else{
						_layer_admin.errorMsg(data.message);
					}
				})
			})
		}
		$(function(){
			//搜索
			$('.userRecordSousou').click(function(){
				ajaxpage(1);
			})
		})
	</script>
</body>
</html>